home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
002
/
scann.arc
/
SCAN.DOC
< prev
Wrap
Text File
|
1986-01-09
|
870b
|
25 lines
SCAN C source syntax checker
-------------------------------------------------------------------------------
Syntax: SCAN [d:]filename
SCAN counts braces, single quotes, double quotes, and opening and closing
comment marks. It prints a line if it has a brace in the line. If an opening
comment mark is alone on a line, that line and every line until a closing mark
is found is printed. Any line that has an odd number of quote marks is also
printed.
A total count of opening and closing comment marks, single quotes, double
quotes, and braces is displayed at the end of the listing. Counts for quotes
and braces should be even numbers. Opening comment marks should equal closing
comment marks.
SCAN doesn't really find errors, it just reduces the number of lines
which you check.